Skip to main content

TreeLevel

TreeLevel[tree,levelspec] gives a list of all subtrees of tree on levels specified by levelspec.

TreeLevel[tree,levelspec->elem] gives a list of the element elem of subtrees on levels specified by levelspec.

TreeLevel[levelspec] represents an operator form of TreeLevel that can be applied to a tree.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.